package singleton;

import java.util.Date;

public enum MyEnumSingleton {
	INSTANCE;
	
	private Date date;
	
	public void printData() {
		System.out.println("\nCreated at: " + date.toString());
	}
	
	private MyEnumSingleton() {
		this.date = new Date();
	}

}
